-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(rest) - Rest API for downloading components report. #1965
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This PR can only be merged only after the PR - #1902 get merged. |
keerthi-bl
force-pushed
the
fix/componentsreport
branch
4 times, most recently
from
June 13, 2023 07:28
c65ec23
to
007fa33
Compare
ag4ums
added
needs code review
needs general test
This is general testing, meaning that there is no org specific issue to check for
and removed
WIP
work in progress
labels
Jun 21, 2023
keerthi-bl
force-pushed
the
fix/componentsreport
branch
2 times, most recently
from
June 27, 2023 07:46
bd7b219
to
524df35
Compare
ag4ums
removed
the
needs general test
This is general testing, meaning that there is no org specific issue to check for
label
Jul 10, 2023
1 task
smrutis1
requested changes
Jul 11, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting minor changes
backend/src-common/src/main/java/org/eclipse/sw360/datahandler/db/ComponentDatabaseHandler.java
Outdated
Show resolved
Hide resolved
backend/src-common/src/main/java/org/eclipse/sw360/datahandler/db/ComponentDatabaseHandler.java
Outdated
Show resolved
Hide resolved
keerthi-bl
force-pushed
the
fix/componentsreport
branch
from
July 11, 2023 06:06
0943ca3
to
ca25c57
Compare
Signed-off-by: Keerthi B L <[email protected]> feat(rest): new end point for downloading project Signed-off-by: Keerthi B L <[email protected]> feat(rest):update project feat(rest): end point for downloding my components report Signed-off-by: Keerthi B L <[email protected]>
keerthi-bl
force-pushed
the
fix/componentsreport
branch
from
July 11, 2023 06:08
ca25c57
to
a7bc296
Compare
Review comments addressed. |
smrutis1
approved these changes
Jul 13, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CLGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No
Issue:
Suggest Reviewer
How To Test?
It can be tested using Rest client (Postman) with following URL and sample response.
URL : http://localhost:8080/resource/api/reports?withlinkedreleases=true&mimetype=xlsx&mailrequest=true&module=components
HTTPRequest type : GET
Header (Add Authorisation : Token avbxxxxxxxxxxxh)
Sample response :
{
"response": "E-mail sent succesfully to the end user.",
"url": "http://127.0.0.1:8080/resource/api/reports/[email protected]&module=components&extendedByReleases=true&token=/tmp/[email protected]/2023-05-17_a990c489-acf8-4600-911c-2d89015b8bba"
}
Checklist
Must: